﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Service
{
    /// <summary>
    /// 主程序通过这个接口实例来开启服务，和关闭服务
    /// </summary>
    public interface IWCFServiceHost
    {
        /// <summary>
        /// 打开
        /// </summary>
        /// <returns></returns>
        bool Open();

        /// <summary>
        /// 关闭
        /// </summary>
        void Close();
    }
}
